


let baseURL = 'http://ai.dev.littlegood.cn/'; //https://aivoice.glrey.com/api/

let namespace = 'SuperTest_'// 测试:'SuperTest_',正式:'Super_', //vue-ls 缓存前缀

const namespaceArr = {
  production: 'Super_',
  test: 'SuperTest_'
}
// https://lkserver.littlegood.cn/
// https://tmi4m4r4-babymo.mock.coding.io
const ApiList = {
  production: 'http://ai.dev.littlegood.cn/',
  test: 'http://ai.dev.littlegood.cn/',   //https://aivoice.littlegood.cn/api/
}
if (process.env.VUE_APP_CURRENTMODE) {
  baseURL = ApiList[process.env.VUE_APP_CURRENTMODE]
  namespace = namespaceArr[process.env.VUE_APP_CURRENTMODE]
}
export default {
  baseURL,
  namespace,
  tokenExpires: 30 * 24 * 60 * 60 * 1000,
};